package com.gzhu.knowledgeAdmin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gzhu.knowledgeAdmin.common.param.TaskParam;
import com.gzhu.knowledgeAdmin.common.vo.PageVo;
import com.gzhu.knowledgeAdmin.common.vo.RuleDetailVo;
import com.gzhu.knowledgeAdmin.entity.Rule;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 规则表
 *
 * @author yangminggui
 * @email giaogiao@gmail.com
 * @date 2024-01-25 23:16:07
 */
public interface RuleService extends IService<Rule> {

    PageVo queryPage(Map<String, Object> params);

    void saveRule(Rule rule);

    void removeRulesByIds(List<Integer> ids);

    RuleDetailVo getRuleById(Integer id);


    void checkBatch(TaskParam taskParam) throws Exception;

    void updateRuleById(Rule rule);
}

